<template>
  <el-col :span="attrs.span">
    <el-form-item v-bind="attrs">
      <slot></slot>
      <template #label>
        <slot name="label">
          <span>{{ attrs.label }}</span>
        </slot>
      </template>
    </el-form-item>
  </el-col>
</template>
<script setup>
import { useAttrs } from 'vue'
const attrs = useAttrs()
</script>
